﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UpdateProfile.ascx.cs"
    Inherits="Member_Control_UpdateProfile" %>
<h2>
    Thông Tin Cá Nhân</h2>
<asp:ValidationSummary ID="ValidationSummary1" runat="server" 
    CssClass="valid-erorr" />
<table width="100%">
    <tr>
        <td width="150px">
            <b>Mã nhân viên</b>
        </td>
        <td>
            <asp:TextBox ID="txtID" runat="server" ></asp:TextBox>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="Nhập mã nhân viên" ControlToValidate="txtID" Display="Dynamic">*</asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td width="150px">
            <b>Tên tài khoản</b>
        </td>
        <td>
            <asp:TextBox ID="txtFullName" runat="server" Width="450px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <b>Số vân tay</b>
        </td>
        <td>
            <asp:TextBox ID="txtCode" runat="server"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToValidate="txtCode" Display="Dynamic" 
                ErrorMessage="số vân tay phải là kiểu số" Operator="DataTypeCheck" 
                Type="Integer">*</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td>
            <b>Địa chỉ</b>
        </td>
        <td>
            <asp:TextBox ID="txtAddress" runat="server" Width="450px"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <b>Email</b>
        </td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td>
            <b>Mobile</b>
        </td>
        <td>
            <asp:TextBox ID="txtMobile" runat="server"></asp:TextBox>
            <asp:CompareValidator ID="CompareValidator2" runat="server" 
                ControlToValidate="txtMobile" ErrorMessage="số điện thoại phải là kiểu số" 
                Operator="DataTypeCheck" Type="Integer">*</asp:CompareValidator>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <span class="button">
                <asp:Button ID="btnUpdate" runat="server" Text="Cập nhật" 
                OnClick="btnUpdate_Click" Visible="False" />
                <span>
                </span>
            </span>
            <span class="button">
                <asp:Button ID="btCancel" runat="server" Text="Quay ra" 
                onclick="btCancel_Click" ValidationGroup="cancel" />
                <span>
                </span>
            </span>
        </td>
    </tr>
</table>
